#pragma once
#include <iostream>
#include <list>
#include <QPropertyAnimation>
#include <QMessageBox>
#include <QTimer>
#include <QLabel>
#include <QKeyEvent>
#include <QRandomGenerator>
using namespace std;
inline QImage frameImage("./MCtextures/button_selected.png");
inline QImage headImage("./MCtextures/observer_front.png");
inline QImage tailImage("./MCtextures/observer_back_on.png");
inline QImage bodyImage("./MCtextures/observer_top.png");
inline QImage foodImage("./MCtextures/gold_block.png");
#define frame_size 20
#define head_down 0
#define head_up 1
#define head_left 2
#define head_right 3
#define max_tick 1000